home *** CD-ROM | disk | FTP | other *** search
- Option Explicit
-
- ' Variables:
- Global gbRouterLoaded As Integer ' router loaded flag
-
- Sub Main ()
-
- ' Variables:
- Dim bNoCheck As Integer ' omit check during startup
- Dim nRC As Integer ' return code
-
- ' set global character variables
- Call zzSetGlobalVariables
-
- ' get omit warning message option
- nRC = zzINISetFile("WIN.INI")
- nRC = zzINISetSection("AS400API")
- nRC = zzINIGetInteger("Omit Check", bNoCheck)
-
- ' if running normal or not displaying then end program
- If Command$ = gsEMPTY And bNoCheck Then End
-
- ' is router loaded
- gbRouterLoaded = zzCARouterLoaded(0)
-
- ' if running normal and router loaded then end program
- If Command$ = gsEMPTY And gbRouterLoaded Then End
-
- ' show form
- Load frmMyRtrMon
- frmMyRtrMon!chkDisplay.Value = bNoCheck
- frmMyRtrMon.Show
-
- End Sub
-
-